Objects Reference

light_map::illum

Prototype

void illum(vector& pos,vector& color,float rad,int shadows)

Parameters

Parameter Type Description
pos vector& light position
color vector& light color
rad float light radius
shadows int shadows flag:
0 - no shadows
1 - single object shadows
2 - global shadows

Return Value

None

Remarks

This function dynamicaly illuminates the light_map pixels based on the above parameters.